5b6f4c57908504d45243369c026812d0dd9371f2,plugins/kernel/roi/roi3d/ROI3DArea.java,ROI3DAreaPainter,updateVtkDisplayProperties,#,188
Before Change
{
// set actors color
surfaceActor.GetProperty().SetColor(r, g, b);
boundingBox.GetXAxesLinesProperty().SetColor(r, g, b);
boundingBox.GetYAxesLinesProperty().SetColor(r, g, b);
boundingBox.GetZAxesLinesProperty().SetColor(r, g, b);
boundingBox.SetVisibility(isSelected() ? 1 : 0);
setVtkObjectsColor(col);
}
finally
{
cnv.unlock();
}
}
else
{
surfaceActor.GetProperty().SetColor(r, g, b);
boundingBox.GetXAxesLinesProperty().SetColor(r, g, b);
boundingBox.GetYAxesLinesProperty().SetColor(r, g, b);
boundingBox.GetZAxesLinesProperty().SetColor(r, g, b);
boundingBox.SetVisibility(isSelected() ? 1 : 0);
setVtkObjectsColor(col);
}
After Change
try
{
// set actors color
outlineActor.GetProperty().SetColor(r, g, b);
outlineActor.SetVisibility(isSelected() ? 1 : 0);
surfaceActor.GetProperty().SetColor(r, g, b);
// surfaceActor.GetProperty().SetOpacity(opacity);
setVtkObjectsColor(col);
}
finally
{
cnv.unlock();
}
}
else
{
outlineActor.GetProperty().SetColor(r, g, b);
outlineActor.SetVisibility(isSelected() ? 1 : 0);
surfaceActor.GetProperty().SetColor(r, g, b);
// surfaceActor.GetProperty().SetOpacity(opacity);